from django.db import models


# Create your models here.
class Test_Case(models.Model):
    # 项目名称
    case_name = models.CharField(max_length=20, unique=True)
    # 项目编号
    user_id = models.IntegerField()
    # 优先级
    priority = models.IntegerField()
    # 前置条件
    pre_condition = models.CharField(max_length=20)
    # 所属计划
    plan_id = models.IntegerField()
    # 用例类型
    case_type = models.CharField(max_length=20)
    # 审核状态
    review_status = models.CharField(max_length=20)
    # 审核意见
    suggestion = models.CharField(max_length=20)
    # 用例创建时间
    create_time = models.DateTimeField(auto_now_add=True)
